package com.ruoyi.app.mapper;

import com.ruoyi.app.vo.ParkingInfoVo;
import com.ruoyi.domain.ParkingInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ParkMapper {

    ParkMapper INSTANCE = Mappers.getMapper(ParkMapper.class);

    ParkingInfoVo toParkingInfoVo(ParkingInfo parkingInfo);

    List<ParkingInfoVo> toParkingInfoVoList(List<ParkingInfo> parkingInfoList);
}
